/*******************************************************************************
 * Package: com.practice.dao
 * Type:    UserDao
 * Date:    2023/9/22 16:27
 *
 * Copyright (c) 2023 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.practice.mapper;

import com.practice.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * TODO your comment
 *
 * @author Masiyu
 * @date 2023/9/22 16:27
 */
@Mapper
public interface UserMapper {
    List<User> findAll(String name);
    
    void add(User user);
    
    User findById(Long id);
    
    void updateById(User user);
}
